import request from "./request";

export function getDetectionMethod (query) {
  return request({
    url: '/single/search/getDetectionMethod',
    method: 'get',
    params: query
  })
}

export function searchList (query) {
  return request({
    url: '/single/search/list',
    method: 'get',
    params: query
  })
}

export function blastdbList (query) {
  return request({
    url: '/single/search/blastdbList',
    method: 'get',
    params: query
  })
}


export function createXML (data) {
  return request({
    url: '/single/search/createXML',
    method: 'post',
    data: data
  })
}

export function groupByHost (data) {
  return request({
    url: '/single/search/groupByHost',
    method: 'get',
    params: data
  })
}

export function cellTissue (data) {
  return request({
    url: '/single/search/cellTissue',
    method: 'get',
    params: data
  })
}
